import { NavBar } from 'antd-mobile';
import { history } from 'umi';
import React from 'react';
const action = () => {
  function back(): void {
    history.go(-1);
  }

  return (
    <>
      <NavBar onBack={back}>配合路由使用</NavBar>
      我是action页面
    </>
  );
};
export default action;
